﻿@{
    ViewBag.Title = "Home Page";
}


<script type="text/javascript">

    $(function () {


        // $('li.item-ii').find('li').css('background-color', 'red');
        // file_source 
        $("#car>option:last").each(function () {
            $("<div>", { text: this.value }).appendTo($("#container"));
        
        });

    }


    );

</script>
<h2>@ViewBag.Message</h2>
<p>
    To learn more about ASP.NET MVC visit <a href="http://asp.net/mvc" title="ASP.NET MVC Website">http://asp.net/mvc</a>.
</p>
<div id="container"></div>


<ul class="level-1">
  <li class="item-i">I</li>
  <li class="item-ii">II
    <ul class="level-2">
      <li class="item-a">A</li>
      <li class="item-b">B
        <ul class="level-3">
          <li class="item-1">1</li>
          <li class="item-2">2</li>
          <li class="item-3">3</li>
        </ul>
      </li>
      <li class="item-c">C</li>
    </ul>
  </li>
  <li class="item-iii">III</li>
</ul>


<select name="file_source" size="1" id="file_source"  >
 <option value="选定" selected>选定</option>
 <option value="办公室">办公室</option>
 <option value="机房">机房</option>
 <option value="教研室">教研室</option>
 <option value="开发室">开发室</option>
</select>
<select id="car">
  <option>Volvo</option>
  <option selected="selected">Saab</option>
  <option>Mercedes</option>
  <option>Audi</option>
</select>

